<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--这是帖子的模板-->
<html>
	<head>
		<title><#list articles as article> <#if article_index == 0>
			${article.articleTitle} </#if> </#list></title>

		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">

	</head>
	<body>
		<#if (articlePage>1)> <#else>
		<div id="articleArea">
			<#list articles as article> themeName:${article.themeTitle}
			<br>
			articleTitle:${article.articleTitle}
			<br>
			authorEmail:${article.authorName}
			<br>
			articleContent:${article.articleContent}
			<br>
			articleInTime:${article.inTime}
			<br>
			</#list>
		</div>
		<br>
		<br>
		<br>
		<br>
		</#if>
		<div id="commentArea">
			<#list comments as comment> commentFloor:${comment.commentFloor}
			<br>
			authorName:${comment.authorName}
			<br>
			comContent:${comment.comContent}
			<br>
			inTime:${comment.inTime}
			<br>
			<br>
			</#list>

			<br>
		</div>
		<br>

		<#if (articlePage<=1)> <#else>
		<a
			href="readArticleAction.action?articlePage=1&article.themeTitle=${article.themeTitle}&article.articleId=${article.articleId}">首页</a>
		<a
			href="readArticleAction.action?articlePage=${articlePage-1}&article.themeTitle=${article.themeTitle}&article.articleId=${article.articleId}">上一页</a>
		</#if> <#if (articlePage>=lastPage)> <#else>
		<a
			href="readArticleAction.action?articlePage=${articlePage+1}&article.themeTitle=${article.themeTitle}&article.articleId=${article.articleId}">下一页</a>
		<a
			href="readArticleAction.action?articlePage=${lastPage}&article.themeTitle=${article.themeTitle}&article.articleId=${article.articleId}">尾页</a>
		</#if>
		<br>
		<br>
		<br>
		<div id="submitCommentArea">
			发表评论<br>
			<form method="post" action="newCommentAction.action">

				<input type="text" name=comment.themeTitle
					style="visibility: hidden" value=${article.themeTitle}>
				<br>
				<input type="text" name=comment.articleId style="visibility: hidden"
					value=${article.articleId}>
				<br>

				authorEmail：
				<input type="text" name=comment.authorName>
				<br>
				commentContent：
				<textarea type="text" name="comment.comContent " cols="50 "
					rows="8 "></textarea>
				<br>
				<input type="submit" value="submit">
			</form>
		</div>

	</body>
</html>